package com.hoshiicloud.goods.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.goods.entity.goods.GoodsCountry;

import java.util.List;

/**
 * <p>
 * 商品国家，产地 服务类
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-04
 */
public interface GoodsCountryService extends IService<GoodsCountry> {

    GoodsCountry getById(Long id);

    boolean save(GoodsCountry entity);

    boolean updateById(GoodsCountry entity);

    IPage getPage(IPage page, Wrapper queryWrapper, String key);

    boolean deleteById(Long id);

    List<GoodsCountry> getByIds(List<Long> ids, String key);
}
